Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Update Python struct syntax #2365

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

[docs] Update Python struct syntax #2365

wants to merge 1 commit into from

Conversation

bebora
Copy link

@bebora bebora commented Nov 7, 2024

Description

Fixes #2364.
The current documentation suggests a "struct" syntax that produces an error at runtime, as described in the linked issue.
I did not insert from dataclasses import dataclass to keep the syntax example concise, but it can be mentioned if necessary.

Copy link

copy-pr-bot bot commented Nov 7, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[docs] Python struct syntax incorrectly documented
1 participant